package com.quanyue.haircut.user.service;


import com.quanyue.haircut.domain.entity.User;

import java.util.List;

public interface UserService {

    User findByName(String name);

    User findByOpenId(String openId);

    User add(User user);

    User findById(Integer id);

    void update(User user);

    List <User> userList();

}
